package pbase64

import "encoding/base64"

func Encode(src []byte) string {
	encodeBase64 := base64.StdEncoding
	return encodeBase64.EncodeToString(src)
}

func Decode(s string) ([]byte, error) {
	myBase64 := base64.StdEncoding
	return myBase64.DecodeString(s)
}
